package com.fivefu.core.camera.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fivefu.core.camera.entity.DbMonitorWorkorder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fivefu.core.camera.vo.response.MonitorWorkerBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 工单表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2022-09-21 20:12:53
 */
public interface DbMonitorWorkorderMapper extends BaseMapper<DbMonitorWorkorder> {

    /**
     *工单列表
     * @param iPage 分页参数
     * @param type 工单类型
     * @param orderBigType 问题大类
     * @param orderSmallType 问题小类
     * @param orderAreaid 所属城区
     * @param orderPushStatus 状态
     * @param cameraName 探头名称
     * @param cStime 生成时间的开始
     * @param cEtime 生成时间的结束

     */
    Page<MonitorWorkerBean> queryMonitorWorkerList(IPage<MonitorWorkerBean> iPage,
                                                   @Param("type")String type,
                                                   @Param("orderBigType")String orderBigType,
                                                   @Param("orderSmallType")String orderSmallType,
                                                   @Param("orderAreaid")String orderAreaid,
                                                   @Param("orderPushStatus")String orderPushStatus,
                                                   @Param("cameraName")String cameraName,
                                                   @Param("cStime")String cStime,
                                                   @Param("cEtime")String cEtime);

}
